import request from '@/utils/request'

// 获取验证码
export function tianaiCaptchaGenerate() {
  return request({
    url: '/tianaiCaptcha/generate',
    headers: {
      isToken: false
    },
    method: 'get',
    timeout: 20000
  })
}

// 校验验证码
export function tianaiCaptchaCheck() {
  return request({
    url: '/tianaiCaptcha/check',
    headers: {
      isToken: false
    },
    method: 'post',
    timeout: 20000
  })
}
